package com.ysqcould.content.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文章转载记录对象 t_press_reproduce
 * 
 * @author ruoyi
 * @date 2022-06-29
 */
public class PressReproduce extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 文章id */
    @Excel(name = "文章id")
    private Long pressId;

    /** 文章推送到其它协会id */
    @Excel(name = "文章推送到其它协会id")
    private Long toAsid;

    /** 文章推送到其它协会id的状态:(0未审核，1已通过，2未通过) */
    @Excel(name = "文章推送到其它协会id的状态:(0未审核，1已通过，2未通过)")
    private Long checkStatus;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setPressId(Long pressId) 
    {
        this.pressId = pressId;
    }

    public Long getPressId() 
    {
        return pressId;
    }
    public void setToAsid(Long toAsid) 
    {
        this.toAsid = toAsid;
    }

    public Long getToAsid() 
    {
        return toAsid;
    }
    public void setCheckStatus(Long checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Long getCheckStatus() 
    {
        return checkStatus;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("pressId", getPressId())
            .append("toAsid", getToAsid())
            .append("checkStatus", getCheckStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
